package com.itheima.service;

import com.itheima.cammon.PageInof;
import com.itheima.pojo.Order;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 王同学
 */
@Transactional(rollbackFor = RuntimeException.class)
public interface OrderService {
    PageInof<Order> page(String beginTime, String endTime, String number, Integer page, Integer pageSize);

    boolean updatestatus(int status, String id);
}
